﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SqlSugar;

namespace UserModels
{
    [Table("DeptInfoModel")]
    public class DeptInfoModel: AuditModel
    {
        /// <summary>
        /// 部门编号
        /// </summary>
        [Key]
        [SugarColumn(IsPrimaryKey =true,IsIdentity =true)]
        public int DeptId { get; set; }
        /// <summary>
        /// 部门名称
        /// </summary>
        [SugarColumn(IsNullable = true)]
        public string? DeptName { get; set; }
    }
}
